package com.ma.crawl_book.service.impl;

import com.ma.crawl_book.dao.SectionMapper;
import com.ma.crawl_book.model.SectionBean;
import com.ma.crawl_book.service.SectionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SectionServiceImpl implements SectionService {

    @Resource
    SectionMapper sectionDao;

    @Override
    public int insertSection(SectionBean sectionBean) {
        return sectionDao.insertSelective(sectionBean);
    }
}
